import request from '@/API/request'
export const deleteAddress = (id) => {
  return request({
    url: '/api/address',
    method: 'DELETE',
    data: { id }
  })
}

export const amentAddress = (value) => {
  return request({
    url: '/api/address',
    method: 'PUT',
    data: value
  })
}
